//
//  STKAudioPlayerHandle.h
//  音乐播放器
//
//  Created by dllo on 16/5/4.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "STKAudioPlayer.h"
#import "AuditionListModel.h"
#import "PosterDetailSongsModel.h"
// 播放模式.
typedef NS_ENUM(NSInteger, STKAudioPlayerPlayStyle) {
    STKAudioPlayerPlayminiSingleLoop,
    STKAudioPlayerRandom,
    STKAudioPlayerAllLoop
};


@interface STKAudioPlayerHandle : NSObject

@property (nonatomic, strong)STKAudioPlayer *audioPlayer;

@property (nonatomic, assign)NSInteger currentOfMusic;

@property (nonatomic, assign)STKAudioPlayerPlayStyle audioPlayerStyle;

@property (nonatomic, strong)NSMutableArray *mutableArray;
@property (nonatomic, assign)BOOL isAVPlayer;

+ (instancetype)shareSTKAudioPlayerHandle;

- (void)setPlayerPlayStyle;
- (void)lastSonger;
- (void)nextSonger;
- (void)pauseOrResumePlayer;
- (void)playStyleWithOrder:(BOOL)order;

@end
